Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make multiple settings dynamic for tuning on larger clusters #16347

Merged

Conversation

rahulkarajgikar
Copy link
Contributor

@rahulkarajgikar rahulkarajgikar commented Oct 16, 2024

Description

Makes the below list of settings into dynamic settings:

cluster.fault_detection.follower_check.interval
cluster.allocator.gateway.batch_size
cluster.publish.timeout
cluster.follower_lag.timeout

This allows us to easily tune these settings on larger clusters, where the default settings may not be high enough

Increases max value of cluster.fault_detection.follower_check.timeout from 60s to 150s so that we can tune for larger clusters if needed

Added UTs for each of the settings to validate dynamic setting functionality

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link
Contributor

✅ Gradle check result for 3ef5783: SUCCESS

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.93%. Comparing base (35c366d) to head (7d692a2).
Report is 36 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #16347      +/-   ##
============================================
- Coverage     72.10%   71.93%   -0.18%     
+ Complexity    64862    64760     -102     
============================================
  Files          5307     5307              
  Lines        302606   302643      +37     
  Branches      43717    43720       +3     
============================================
- Hits         218208   217700     -508     
- Misses        66541    67019     +478     
- Partials      17857    17924      +67     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rahulkarajgikar rahulkarajgikar changed the title Make multiple settings dynamic for larger clusters [DRAFT] Make multiple settings dynamic for larger clusters Oct 17, 2024
Signed-off-by: Rahul Karajgikar <[email protected]>
Copy link
Contributor

❌ Gradle check result for 561ac0e: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Signed-off-by: Rahul Karajgikar <[email protected]>
Copy link
Contributor

❌ Gradle check result for b332424: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Signed-off-by: Rahul Karajgikar <[email protected]>
Copy link
Contributor

❌ Gradle check result for c96d677: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Signed-off-by: Rahul Karajgikar <[email protected]>
Copy link
Contributor

✅ Gradle check result for 6b6d11d: SUCCESS

Signed-off-by: Rahul Karajgikar <[email protected]>
@rahulkarajgikar rahulkarajgikar changed the title [DRAFT] Make multiple settings dynamic for larger clusters [DRAFT] Make multiple settings dynamic for tuning on larger clusters Oct 17, 2024
Signed-off-by: Rahul Karajgikar <[email protected]>
Copy link
Contributor

✅ Gradle check result for c42004f: SUCCESS

@rahulkarajgikar rahulkarajgikar changed the title [DRAFT] Make multiple settings dynamic for tuning on larger clusters Make multiple settings dynamic for tuning on larger clusters Oct 18, 2024
Signed-off-by: Rahul Karajgikar <[email protected]>
Copy link
Contributor

✅ Gradle check result for b5ca8de: SUCCESS

@shwetathareja shwetathareja added the backport 2.x Backport to 2.x branch label Oct 22, 2024
Signed-off-by: shwetathareja <[email protected]>
@shwetathareja
Copy link
Member

this will need documentation update PR @rahulkarajgikar

Copy link
Contributor

❌ Gradle check result for 7d692a2: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@shwetathareja shwetathareja added the v2.18.0 Issues and PRs related to version 2.18.0 label Oct 22, 2024
Copy link
Contributor

❕ Gradle check result for 7d692a2: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

@rahulkarajgikar
Copy link
Contributor Author

added documentation PR: opensearch-project/documentation-website#8604

@shwetathareja shwetathareja merged commit ca40ba4 into opensearch-project:main Oct 23, 2024
42 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 23, 2024
Signed-off-by: Rahul Karajgikar <[email protected]>
(cherry picked from commit ca40ba4)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dbwiddis pushed a commit that referenced this pull request Oct 23, 2024
…#16442)

(cherry picked from commit ca40ba4)

Signed-off-by: Rahul Karajgikar <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch v2.18.0 Issues and PRs related to version 2.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants